//
//  NewCell.m
//  OneWordNew
//
//  Created by qianfeng on 15-7-3.
//  Copyright (c) 2015年 朱共营. All rights reserved.
//

#import "NewCell.h"
#import "UIImageView+WebCache.h"
@implementation NewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)showDataWith:(NewModel *)model{
    [self.coverImageView sd_setImageWithURL:[NSURL URLWithString:model.cover] placeholderImage:[UIImage imageNamed: @"dropdown_anim__00060"]];
    self.contentLable.text=model.title;
    self.viewnumLable.text=[NSString stringWithFormat:@"%@人浏览",model.viewnum];
    self.commentLable.text=[NSString stringWithFormat:@"%@评论",model.commentnum];
    self.createdLable.text=model.created;
    

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
